﻿<%@ Page Title="Change P-W-D" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ChgP-w-d.aspx.cs" Inherits="IFD2.ChgPwd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <form id="form1" runat="server" role="form" class="form-inline" autocomplete="off">
    <%--<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>--%>
    <div class="container-fluid body-content" style="width:100%;">

    <div class="row">
        <div class="col-sm-2 well well-sm">
            <h5><asp:Literal ID="litTitle" runat="server" meta:resourcekey="ChangePwd"></asp:Literal></h5>
        </div>

        <div class="col-sm-10 well well-sm">
            <div class="panel">
                <div class="panel-body">
                    <div class="panel-heading btn-primary">
                        <h6 class="panel-title" id="section-2"><asp:Literal ID="Literal1" runat="server" meta:resourcekey="ChangePwd"></asp:Literal></h6>
                    </div>
                    <div class="panel-body">
                        <table style="margin:auto;">
                        <tr><td>&nbsp;</td></tr>
                        <tr><td style="text-align:right">
                        <asp:Label ID="Label4" runat="server" Text="UID:" meta:resourcekey="UID" Visible="False" ForeColor="Red"></asp:Label></td>
                        <td><asp:TextBox ID="txtUID" runat="server" Width="160px" Visible="False" MaxLength="20"></asp:TextBox></td>
                        </tr>
                        <tr><td style="text-align:right">
                        <asp:Label ID="Label3" runat="server" Text="Old :" meta:resourcekey="OldPassword" Visible="False" ForeColor="Red"></asp:Label></td>
                        <td><asp:TextBox ID="txtOldPwd" runat="server" Width="160px" Visible="False" MaxLength="20"></asp:TextBox></td> <%--onfocus="this.type='password'"--%>
                        </tr>
                        <tr>
                        <td style="text-align:right"><asp:Label ID="Label1" runat="server" Text="New:" meta:resourcekey="NewPassword"></asp:Label></td>
                        <td><asp:TextBox ID="txtNew" runat="server" Width="160px" MaxLength="20" oninput="Shadow('MainContent_txtNew','MainContent_hidNew');" ></asp:TextBox></td> <%--onfocus="this.type='password'"--%>
                        </tr>
                        <tr><td>&nbsp;</td></tr>
                        <tr>
                        <td style="text-align:right"><asp:Label ID="Label2" runat="server" Text="Re-enter:" meta:resourcekey="Reenter"></asp:Label></td>
                        <td><asp:TextBox ID="txtConfirm" runat="server" Width="160px" MaxLength="20" oninput="Shadow('MainContent_txtConfirm','MainContent_hidConfirm');"></asp:TextBox></td> <%--onfocus="this.type='password'"--%>
                        </tr>
                        <tr>
                        <td style="text-align:right"><!--img src="img_chk.aspx" alt=""/--></td>
                        <td><asp:TextBox ID="txtCheckCode" runat="server" Width="160px"  Visible="False"></asp:TextBox></td>
                        </tr>
                        <tr><td>&nbsp;</td></tr>
                        <tr>
                        <td colspan="2" style="text-align:center"><asp:Button ID="butChangeP_w_d" runat="server" CssClass="btn btn-default btn-sm"
                                Text="Change Pwd." OnClick="butChangeP_w_d_Click" meta:resourcekey="ChangePwd" /></td>
                        </tr>
                        <tr>
                        <td colspan="2"><asp:Label ID="lblError" runat="server" CssClass="ifdMessage"></asp:Label></td>
                        </tr>
                        </table>
                        <br />
                        <table style="margin:auto;">
                            <tr>
                                <td><asp:Label ID="Label5" runat="server" Text="PwdRules" meta:resourcekey="PasswordStrength" Font-Italic="true"></asp:Label>
                                    <br />
                                    <asp:HiddenField ID="hidNew" runat="server" />
                                    <asp:HiddenField ID="hidConfirm" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            
        </div>
    </div>

    </div>
    <%--</ContentTemplate></asp:UpdatePanel>--%>
    </form>

    <script src="JS/shadow.min.js"></script>
</asp:Content>
